﻿<%@ Page Language="c#" CodeBehind="project_detail.aspx.cs" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="false" Inherits="ud_gSDMS.project.project_detail" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" >
</asp:Content>
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">


<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
    <mp:CornerRounderTop id="ctop1" runat="server" />
    <asp:Panel ID="pnlStoreManager" runat="server" CssClass="art-Post-inner panelwrapper gSDMS">
            <portal:ModuleTitleControlCustom ID="moduleTitle" runat="server" RenderArtisteer="true" UseLowerCaseArtisteerClasses="true"/>
        <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
        <div class="modulecontent">
            <fieldset>
<%--            <asp:UpdatePanel ID='updatePanel' runat="server" >
                <ContentTemplate>--%>
                
                <div class="div_title">
                    <a href="/gsdmsmodule/project/project_detail.aspx?pageid=16">Project</a>
                    &nbsp;>&nbsp;
                    <a href="">Detail</a>
                </div>
                <div class="div_Edit">
                    <table cellpadding='3' cellspacing='0' border='0' width='auto' class="tb_edit">
                         <tr >
                            <td colspan="4">
                                <table cellpadding=0 cellspacing=0 border=0>
                                    <tr class="div_title_parent">
                                        <td class="div_title div_title_group">CONTRACT INFOR:</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>

                        <tr>
                            <td class="title">Contract code:</td>
                            <td class="input" colspan="3">
                                
                                <asp:HiddenField ID="hidId" runat="server" />
                                <asp:HiddenField ID="hidContractID" runat="server" />
                                <asp:HiddenField ID="hidCreatedOn" runat="server" />
                                <asp:TextBox ID="txtContract_Code" runat="server" CssClass="txtInput"></asp:TextBox>
                             </td>
                        </tr>
                        <tr>
                            <td class="title">Contract name:</td>
                            <td class="input" colspan="3">
                                <asp:TextBox ID="txtContract_Name" runat="server" CssClass="txtInput" Width="100%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="title">Contract date:</td>
                            <td class="input" colspan="3">
                                <asp:TextBox ID="datContract_Date" runat="server" CssClass="txtInput"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="title">Product category:</td>
                            <td class="input" colspan="3">
                                <asp:DropDownList ID="cboProduct_Package_ID" runat="server" CssClass="cbo_rad" Width="200px"></asp:DropDownList>
                                </td>
                        </tr>

                        <tr>
                            <td class="title">Start date:</td>
                            <td class="input"> 
                                <asp:TextBox ID="datStart_Date" runat="server" CssClass="txtInput"></asp:TextBox>  
                            </td>

                            <td class="title title_n1">End date:</td>
                            <td class="input"> 
                             <asp:TextBox ID="datEnd_Date" runat="server" CssClass="txtInput" Width="150px"></asp:TextBox>
                            </td>
                        </tr>
                       
                        <tr>
                            <td class="title">Manday:</td>
                            <td class="input"><asp:TextBox ID="txtManday" runat="server" CssClass="txtInput txtInputNum"></asp:TextBox></td>
                            <td>&nbsp;</td><td>&nbsp;</td>
                        </tr>
                       
                       
                        <tr >
                            <td colspan="4">
                                <table cellpadding=0 cellspacing=0 border=0>
                                    <tr class="div_title_parent">
                                        <td class="div_title div_title_group">CUSTOMER INFORMATION:</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>

                        <tr>
                            <td class="title">Customer code:</td>
                            <td class="input"><asp:TextBox ID="txtCustomer_Code" runat="server" CssClass="txtInput"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="title">Customer name:</td>
                            <td class="input" colspan=3>
                                <asp:TextBox ID="txtCustomer_Name" runat="server" CssClass="txtInput"></asp:TextBox>
                            </td>
                        </tr>

                        <tr>
                            <td class="title">Phone:</td>
                            <td class="input" colspan=3>
                                <asp:TextBox ID="txtCustomer_Phone" runat="server" CssClass="txtInput"></asp:TextBox>
                            </td>
                        </tr>
                   
                        <tr>
                            <td class="title">Fax:</td>
                            <td class="input">
                                <asp:TextBox ID="txtCustomer_Fax" runat="server" CssClass="txtInput" MaxLength="20"></asp:TextBox>
                            </td>
                        </tr>

                        <tr>
                            <td class="title">Email:</td>
                            <td class="input">
                                <asp:TextBox ID="txtCustomer_Email" runat="server" CssClass="txtInput"></asp:TextBox>
                            </td>
                            <td class="title title_n1">Company Address :</td>
                            <td class="input" colspan="4">
                                <asp:TextBox ID="txtCompany_Address" runat="server" CssClass="txtInput" MaxLength="100" Width="475px"></asp:TextBox>
                            </td>
                        </tr>

                        <tr>
                            <td class="title">Contact name 1:</td>
                            <td class="input">
                                <asp:TextBox ID="txtContact_Name_1" runat="server" CssClass="txtInput" MaxLength="50"></asp:TextBox>
                            </td>
                            <td class="title title_n1">Email:</td>
                            <td class="input">
                                <asp:TextBox ID="txtContact_Email_1" runat="server" CssClass="txtInput" MaxLength="50" Width="150px"></asp:TextBox>
                            </td>
                            <td class="title title_n1">Phone:</td>
                            <td class="input">
                                <asp:TextBox ID="txtContact_Phone_1" runat="server" CssClass="txtInput" MaxLength="50" Width="150px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="title">Contact name 2:</td>
                            <td class="input">
                                <asp:TextBox ID="txtContact_Name_2" runat="server" CssClass="txtInput" MaxLength="50"></asp:TextBox>
                            </td>
                            <td class="title title_n1">Email:</td>
                            <td class="input">
                                <asp:TextBox ID="txtContact_Email_2" runat="server" CssClass="txtInput" MaxLength="50" Width="150px"></asp:TextBox>
                            </td>
                            <td class="title title_n1">Phone:</td>
                            <td class="input">
                                <asp:TextBox ID="txtContact_Phone_2" runat="server" CssClass="txtInput" MaxLength="50" Width="150px"></asp:TextBox>
                            </td>
                        </tr>
                        
                        <%--------------------------------------------------------------------%>
                        <tr >
                            <td colspan="4">
                                <table cellpadding=0 cellspacing=0 border=0>
                                    <tr class="div_title_parent">
                                        <td class="div_title div_title_group">OTHER INFORMATION:</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td class="title title_n1"><asp:Label runat="server" ID="lblSoftcopy">Add Extention File Contract:: </asp:Label></td>
                            <td class="input" colspan="3">
                                <asp:Repeater ID="rptSoftcopy" runat="server">
                                    <ItemTemplate>
                                        <asp:Image ID="imgType" runat="server" AlternateText=" " ImageUrl='<%# Page.ResolveUrl("~/Data/SiteImages/Icons/unknown.png") %>' />
                                        <asp:Label ID="Label1" Text='<%# Eval("p.FileName") %>' runat="server" />
                                        
                                        <asp:ImageButton ID="ibtnDownload" runat="server" AlternateText=" " ImageUrl='<%# Page.ResolveUrl("~/Data/SiteImages/Download.gif") %>'
                                            CommandName="DownloadItem" CommandArgument='<%# Eval("p.FileID") %>' />
                                    </ItemTemplate>
                                </asp:Repeater>
                            </td>
                       </tr>                      
                        <tr>
                            <td class="title">Account manager:</td>
                            <td class="input" colspan="3">
                                <telerik:RadComboBox ID="cboAccount_Manager" AllowCustomText="true" runat="server" CssClass ="cbo_rad" Width="200px" EmptyMessage="" Filter="StartsWith"></telerik:RadComboBox>
                           </td>
                        </tr>

                        <tr>
                            <td class="title">Assigned to:</td>
                            <td class="input" colspan="3">
                                <telerik:RadComboBox ID="cboAssigned_To" AllowCustomText="true" runat="server" CssClass ="cbo_rad" Width="200px" EmptyMessage="" Filter="StartsWith"></telerik:RadComboBox>
                            </td>
                        </tr>
                        
                        <tr>
                            <td class="title">Note:</td>
                            <td class="input" colspan="3">
                                <mpe:EditorControl  ID="txtNotes" runat="server" Width="600" ></mpe:EditorControl>
                                
                            </td>
                        </tr>
                        <%--------------------------------------------------------------------%>
                        <tr >
                            <td colspan="4">
                                <table cellpadding=0 cellspacing=0 border=0>
                                    <tr class="div_title_parent">
                                        <td class="div_title div_title_group">PROJECT INFOR:</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                         <tr>
                            <td class="title">Project Name:</td>
                            <td class="input" colspan="3">
                                <asp:TextBox ID="txtCode_Project" runat="server" CssClass="txtInput" Width="100%"></asp:TextBox>
                            </td>
                            <td class="title title_n1">Manday Actual:</td>
                            <td class="input" colspan='3'>
                                <asp:TextBox ID="txtManday_Actual" runat="server" CssClass="txtInput" Width="50px"></asp:TextBox>
                            </td>
                        </tr>

                        <tr>
                            <td class="title">Kickoff Date:</td>
                            <td class="input"> 
                                <asp:TextBox ID="datKickoff_Date" runat="server" CssClass="txtInput" Width="100px"></asp:TextBox>
                             </td>

                            <td class="title title_n1">End date:</td>
                            <td class="input"> 
                                <asp:TextBox ID="datEnd_DateProject" runat="server" CssClass="txtInput" Width="100px"></asp:TextBox>
                            </td>
                            <td class="title title_n1">Status:</td>
                            <td class="input">
                            <asp:TextBox ID="txtStatus" runat="server" CssClass="txtInput" Width="100px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                                <asp:UpdatePanel ID="updatePanner1" runat="server" >
                                        <ContentTemplate>
                                            <table cellpadding='3' cellspacing='0' border='0' width='auto' class="tb_edit tb_edit_lavel2">
                                                <tr>
                                                    <td class="title" style="padding-left:131px">Member list:</td>
                                               </tr>
                                              </table cellpadding='3' cellspacing='0' border='0' width='auto' class="tb_edit tb_edit_lavel2">
                                              <table >
                                              <tr>
                                                <td class="gSDMS_Grid" colspan="5" style="padding-left: 210px">
                                                <asp:GridView ID="grdMember" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" 
                                                    AllowPaging="false" AllowSorting="true" AutoGenerateColumns="false" PagerSettings-Position="Bottom" PagerStyle-HorizontalAlign="Right"
                                                    CssClass="css_grid" DataKeyNames="Project_ID">
                                                            <AlternatingRowStyle CssClass='AlternatingRowStyle' />
                                                            <EditRowStyle CssClass='EditRowStyle' />
                                                            <FooterStyle CssClass='FooterStyle' />
                                                            <HeaderStyle CssClass='HeaderStyle' />
                                                            <PagerStyle CssClass='PagerStyle' HorizontalAlign="Right" />
                                                            <RowStyle CssClass='RowStyle' />
                                                            <SelectedRowStyle CssClass='SelectedRowStyle' />
                                                            <Columns >
                                                                <asp:TemplateField HeaderText="STT" ItemStyle-CssClass="stt">
                                                                    <ItemTemplate><%# grdMember.PageIndex * grdMember.PageSize + grdMember.Rows.Count + 1%></ItemTemplate></asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Member" ItemStyle-CssClass="txtFullName">
                                                                    <ItemTemplate><%#Eval("LoginName")%></ItemTemplate></asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Full Name" ItemStyle-CssClass="txtProjectCode">
                                                                    <ItemTemplate><%#Eval("Name") %></ItemTemplate></asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Role" ItemStyle-CssClass="txtRoseNames" >
                                                                    <ItemTemplate><%#Eval("name2")%></ItemTemplate>
                                                                </asp:TemplateField>
                                                             </Columns>
                                                        </asp:GridView>
                                                    </td>
                                            </tr>
                                  <br/>
                               <table>
                               <tr>
                                  <td style="width :35%"></td>                                 
                                 <td>
                                 <div class="div_AddNew div_Edit">
                                <asp:Button ID ='btnPlan' runat="server" CssClass="btn_Plan"/>
                                 </div>
                                </td>
                                <td>
                                <div class="div_AddNew div_Edit">
                                <asp:Button ID="btnApprovePlan" CssClass="btn_Approve" runat="server"/>                              </div>
                                </td>
                                <td>
                                <div class="div_AddNew div_Edit">
                                <asp:Button ID ='btnChangestatus' runat="server" CssClass="btn_change" />
                                </div>
                                </td>
                                <td>
                                <div class="div_AddNew div_Edit">
                                <asp:Button ID ='btnFinish' runat="server" class="btn_01" Text="Lock off" ToolTip="Lock Project ==> Project Finished"/>
                                </div>
                                </td>
                                <td class="txtInput">
                                <a href="/gsdmsmodule/project/manage.aspx" class="go_back">Go back</a>
                                </td>
                                </tr>
                                </table>
                                </ContentTemplate>
                                </asp:UpdatePanel>
                                
                            </td>
                                 
                            <td class="title"></td>
                            
                        </tr>
                        <tr>
                        <td class="title"></td>
                        <td class="input"><asp:Label ID="lblMes" runat="server" Visible="false" CssClass="lblMes"></asp:Label></td>
                        </tr>
                    </table>

                </div>

<%--                </ContentTemplate>
            </asp:UpdatePanel>--%>
                
            </fieldset>
        </div>
        </portal:mojoPanel>
        <div class="cleared"></div>
    </asp:Panel>
    <mp:CornerRounderBottom id="cbottom1" runat="server" />
    </portal:mojoPanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" 
    runat="server" >
</asp:Content>
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
